package com.hp.ssmp.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class TComment {
  @TableId(value = "COMMENTID",type = IdType.AUTO)
  private Long commentid;
  private Long userid;
  private String commentquestion;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date commenttime;
  private String content;
  private Long status;




  public Long getCommentid() {
    return commentid;
  }

  public void setCommentid(Long commentid) {
    this.commentid = commentid;
  }


  public Long getUserid() {
    return userid;
  }

  public void setUserid(Long userid) {
    this.userid = userid;
  }


  public String getCommentquestion() {
    return commentquestion;
  }

  public void setCommentquestion(String commentquestion) {
    this.commentquestion = commentquestion;
  }


  public Date getCommenttime() {
    return commenttime;
  }

  public void setCommenttime(Date commenttime) {
    this.commenttime = commenttime;
  }


  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }


  public Long getStatus() {
    return status;
  }

  public void setStatus(Long status) {
    this.status = status;
  }

}
